package com.telrob.antlr.type;

public class DoWhileBlock extends XnType {
	private XnType condition;
	private XnType body;
	public DoWhileBlock(XnType condition, XnType body) {
		super();
		this.condition = condition;
		this.body = body;
	}
	public XnType getCondition() {
		return condition;
	}
	public void setCondition(XnType condition) {
		this.condition = condition;
	}
	public XnType getBody() {
		return body;
	}
	public void setBody(XnType body) {
		this.body = body;
	}
	@Override
	public String toString() {
		return "DoWhileBlock [condition=" + condition + ", body=" + body + "]";
	}
	
	
}
